package chapter18;

import java.io.*;
import java.util.*;

/**
 * @author : DuJiabao
 * @Date : 2021/2/24 10:09
 * @Project : thinking_in_java
 * @File : null.java
 * @Desc :
 */
public class FileTest {
  public static void main(String[] args) {
    File file = new File(".");
    String[] list = file.list();
    System.out.println(Arrays.toString(list));

    file = new File("src");
    list = file.list();
    System.out.println(Arrays.toString(list));
  }
}
